package com.taoge.biz.common.enums.errorCode;

import lombok.Getter;

/**
 * @ClassName: com.taoge.biz.common.enums
 * @Description: 发送短信验证码错误码
 * @Author: YaoSiCheng
 * @Date: 2024-07-01 10:18
 **/
@Getter
public enum SmsErrorCodeEnum {

    // 当前发送验证码上限
    SEND_SMS_DAY_MAX_COUNT_ERROR(20000,"当日验证码已发送上限，请明日重试"),
    SEND_SMS_ISO_ERROR(20001, "暂不支持您的国家")
    ;

    private final int code;
    private final String msg;

    SmsErrorCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}